package com.briup.pts.mapper;

import com.briup.pts.domain.bean.QuarantineRegistration;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @author wy
 * @description
 * @data 2024/11/26  15:41
 */
@Mapper
public interface QuarantineMapper {

    void addQuarantine(QuarantineRegistration quarantine);

    void updateQuarantine(QuarantineRegistration quarantine);

    void deleteById(int grId);

    void deleteByIdAll(List<Integer> ids);

    List<QuarantineRegistration> queryPage(@Param("bQualified") String bQualified,
                                       @Param("grMechanism") String grMechanism);
}
